package com.mall.user;

import com.mall.user.dto.UserRegisterRequest;
import com.mall.user.dto.UserRegisterResponse;
import com.mall.user.dto.UserVerifyRequest;
import com.mall.user.dto.UserVerifyResponse;

/**
 * @author Liang Shunhao
 * @description: 用户注册信息
 * @date 2021/9/29 9:32
 */
public interface IUserRegister {

    /**
     * 用户注册
     *
     * @param userRegisterRequest 用户名、密码、邮箱
     * @return 注册结果
     */
    UserRegisterResponse userRegister(UserRegisterRequest userRegisterRequest);

    /**
     * 用户邮箱激活验证
     *
     * @param verifyRequest 用户名、uuid
     * @return 激活状态
     */
    UserVerifyResponse verify(UserVerifyRequest verifyRequest);
}
